package br.unicentro.lynx.model.pojo;

public class AuthorBook {
	private Integer id_book;
	private Integer id_author;

	public AuthorBook() {

	}

	public AuthorBook(Integer id_author) {
		this.id_author = id_author;
	}

	public AuthorBook(Integer id_book, Integer id_author) {
		this.id_book = id_book;
		this.id_author = id_author;
	}

	public Integer getIdBook() {
		return id_book;
	}

	public void setIdBook(Integer id_book) {
		this.id_book = id_book;
	}

	public Integer getIdAuthor() {
		return id_author;
	}

	public void setIdAuthor(Integer id_author) {
		this.id_author = id_author;
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("AuthorBookController [id_book=").append(id_book)
				.append(", id_author=").append(id_author).append("]");
		return builder.toString();
	}
}
